package com.googlecode.continuity.plugin.syntaxhighlight.client;

import com.google.gwt.user.client.Event;

/**
 * SelectedLinesListener
 *
 * @author Peter Schmitt <aragos@aragos.de>
 */
public interface SelectedLinesListener {
  /**
   * Method to execute when lines were selected, both line numbers are inclusive.
   *
   * @param first first line selected (inclusive)
   * @param last  last line seleced (inclusive)
   * @param cause event that caused the selection
   */
  void onLinesSelected(Event cause, int first, int last);
}
